package com.team1.system.libraryident.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.team1.common.annotation.Excel;
import com.team1.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 认证管理对象 library_ident
 * 
 * @author hyy
 * @date 2023-04-09
 */
public class LibraryIdent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 认证id */
    private Long identId;

    /** 是否认证 */
    @Excel(name = "是否认证")
    private String identIs;

    /** 认证前 */
    @Excel(name = "认证前")
    private String identBefore;

    /** 认证后 */
    @Excel(name = "认证后")
    private String identAfter;

    /** 发起人id */
    @Excel(name = "发起人id")
    private Long identUserid;

    /** 认证人id */
    @Excel(name = "认证人id")
    private Long identAdminid;

    /** 认证时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认证时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date identTime;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String tag1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String tag2;

    public void setIdentId(Long identId) 
    {
        this.identId = identId;
    }

    public Long getIdentId() 
    {
        return identId;
    }
    public void setIdentIs(String identIs) 
    {
        this.identIs = identIs;
    }

    public String getIdentIs() 
    {
        return identIs;
    }
    public void setIdentBefore(String identBefore) 
    {
        this.identBefore = identBefore;
    }

    public String getIdentBefore() 
    {
        return identBefore;
    }
    public void setIdentAfter(String identAfter) 
    {
        this.identAfter = identAfter;
    }

    public String getIdentAfter() 
    {
        return identAfter;
    }
    public void setIdentUserid(Long identUserid) 
    {
        this.identUserid = identUserid;
    }

    public Long getIdentUserid() 
    {
        return identUserid;
    }
    public void setIdentAdminid(Long identAdminid) 
    {
        this.identAdminid = identAdminid;
    }

    public Long getIdentAdminid() 
    {
        return identAdminid;
    }
    public void setIdentTime(Date identTime) 
    {
        this.identTime = identTime;
    }

    public Date getIdentTime() 
    {
        return identTime;
    }
    public void setTag1(String tag1) 
    {
        this.tag1 = tag1;
    }

    public String getTag1() 
    {
        return tag1;
    }
    public void setTag2(String tag2) 
    {
        this.tag2 = tag2;
    }

    public String getTag2() 
    {
        return tag2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("identId", getIdentId())
            .append("identIs", getIdentIs())
            .append("identBefore", getIdentBefore())
            .append("identAfter", getIdentAfter())
            .append("identUserid", getIdentUserid())
            .append("identAdminid", getIdentAdminid())
            .append("identTime", getIdentTime())
            .append("tag1", getTag1())
            .append("tag2", getTag2())
            .toString();
    }
}
